package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 审核老师设置对应的详情
 * </p>
 *
 * @author hpiggy
 * @since 2025-07-01
 */
@TableName("train_audit_teacher_detail")
@ApiModel(value = "TrainAuditTeacherDetail对象", description = "审核老师设置对应的详情")
@Data
public class TrainAuditTeacherDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("train_audit_teacher_set表id")
    private Long auditTeacherSetId;

    private Long schoolId;

    @ApiModelProperty("被审核老师")
    private Long teacherId;

    @ApiModelProperty("多个逗号隔开")
    private String classTypeIdStr;

    @ApiModelProperty("多个逗号隔开")
    private String subjectsIdStr;

    @ApiModelProperty("多个逗号隔开")
    private String yearClassIdStr;

    @ApiModelProperty("多个逗号隔开")
    private String itemsIdStr;

    @ApiModelProperty("岗位")
    private Long stationsId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(exist = false)
    @ApiModelProperty("学校名称")
    private String schoolName;

    @TableField(exist = false)
    @ApiModelProperty("教师名称")
    private String teacherName;

    @TableField(exist = false)
    @ApiModelProperty("班型名称")
    private String classTypeName;

    @TableField(exist = false)
    @ApiModelProperty("项目名称")
    private String itemsName;

    @TableField(exist = false)
    @ApiModelProperty("科目名称")
    private String subjectsIdStrName;

    @TableField(exist = false)
    @ApiModelProperty("岗位名称")
    private String stationsName;

    @ApiModelProperty("版本id")
    private String versionIdStr;

    @ApiModelProperty("版本名称")
    @TableField(exist = false)
    private String versionNameStr;

}
